//
//  PopoverMyCollCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/9/1.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class PopoverMyCollCell: BaseCollectionCell {
    
    
    
    @IBOutlet weak var rightLabel: UILabel!
    
    var isLast = false

    var text : String?{
    
        didSet{
        
            if text == nil {
                return
            }
            
            rightLabel.text = text
            
            if isLast == true {
                rightLabel.textColor = UIColor.selectTextColor()
            } else {
                rightLabel.textColor = UIColor.noSelectTextColor()
            }
        
        }
    
    }

    override func awakeFromNib() {
        super.awakeFromNib()
//        rightLabel.backgroundColor = UIColor.orange
        contentView.backgroundColor = UIColor.white
        // Initialization code
    }

}
